package com.sdhs.costcontrol.service;

import java.util.List;
import com.sdhs.costcontrol.domain.GcControlManagementCostMaintenance;

/**
 * 管理成本维护Service接口
 * 
 * @author wanglei
 * @date 2025-03-12
 */
public interface IGcControlManagementCostMaintenanceService 
{
	/**
     * 累计费用不能超过管理成本上限
     * @param gcControlManagementCostMaintenance
     * @return
     */
    public boolean checkCostSum(GcControlManagementCostMaintenance costMaintenance);
	
    /**
     * 查询管理成本维护
     * 
     * @param id 管理成本维护主键
     * @return 管理成本维护
     */
    public GcControlManagementCostMaintenance selectGcControlManagementCostMaintenanceById(Long id);

    /**
     * 查询管理成本维护列表
     * 
     * @param gcControlManagementCostMaintenance 管理成本维护
     * @return 管理成本维护集合
     */
    public List<GcControlManagementCostMaintenance> selectGcControlManagementCostMaintenanceList(GcControlManagementCostMaintenance gcControlManagementCostMaintenance);

    /**
     * 新增管理成本维护
     * 
     * @param gcControlManagementCostMaintenance 管理成本维护
     * @return 结果
     */
    public int insertGcControlManagementCostMaintenance(GcControlManagementCostMaintenance gcControlManagementCostMaintenance);

    /**
     * 修改管理成本维护
     * 
     * @param gcControlManagementCostMaintenance 管理成本维护
     * @return 结果
     */
    public int updateGcControlManagementCostMaintenance(GcControlManagementCostMaintenance gcControlManagementCostMaintenance);

    /**
     * 批量删除管理成本维护
     * 
     * @param ids 需要删除的管理成本维护主键集合
     * @return 结果
     */
    public int deleteGcControlManagementCostMaintenanceByIds(Long[] ids);

    /**
     * 删除管理成本维护信息
     * 
     * @param id 管理成本维护主键
     * @return 结果
     */
    public int deleteGcControlManagementCostMaintenanceById(Long id);
}
